﻿using System;

namespace Black.Surface2DEngine.Graphic2D.Extensions
{
    /// <summary>
    /// Classe statique pour les extensions sur Float
    /// </summary>
    public static class FloatExternsions
    {
        /// <summary>
        /// Convertit un Float en Int32
        /// </summary>
        /// <param name="p_fValue">Valeur source</param>
        /// <returns>Valeur convertie</returns>
        public static int ToFloat(this float p_fValue)
        {
            return (Convert.ToInt32(p_fValue));
        }
    }
}
